From: Jim Blandy Date: Thu, 13 May 1993 01:47:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96302 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=8b4cc189e3b36911197d3dcfaa5ec5d727f2fe03;p=emacs.git *** empty log message *** --- diff --git a/src/regex.c b/src/regex.c index 5bd4cf654d7..e8b588207da 100644 --- a/src/regex.c +++ b/src/regex.c @@ -4784,6 +4784,7 @@ regcomp (preg, pattern, cflags) /* regex_compile will allocate the space for the compiled pattern. */ preg->buffer = 0; preg->allocated = 0; + preg->used = 0; /* Don't bother to use a fastmap when searching. This simplifies the REG_NEWLINE case: if we used a fastmap, we'd have to put all the